package com.naiterui.ehp.bs.agent.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bs.agent.entity.AgNoticeMessage;

/**
 * @author yiren
 * @since 2022/2/15
 */
@Repository
public interface IAgNoticeMessageRepository extends BaseJpaRepository<AgNoticeMessage, Long> {
	Page<AgNoticeMessage> findByAgentIdOrTypeAndStatus(Long agentId, Integer type, Integer status, Pageable pageable);
}
